<table cellpadding="0" cellspacing="0" border="0" width="100%">
	<tr>
		<td>Home<?if($category_info[c_depth] == "1"){?> &gt; <?$parent_categofy = get_category($category_info[c_pcode]);echo($parent_categofy[c_name]);?><?}?> &gt; <?=$category_info[c_name]?></td>
	</tr>
</table>
<table cellpadding="0" cellspacing="0" border="0" align="right">
	<tr>
		<td>
		<button class="view_type_btn" onclick="location.href='goods_list.php?CODE=<?=$CODE?>&Type=1&search_str=<?=$search_str?>&sst=<?=$sst?>&sod=<?=$sod?>';" <?if($Type=="1"){echo("style=\"background:#CCFFCC\"");}?>>리스트형</button>&nbsp;
		<button class="view_type_btn" onclick="location.href='goods_list.php?CODE=<?=$CODE?>&Type=2&search_str=<?=$search_str?>&sst=<?=$sst?>&sod=<?=$sod?>';" <?if($Type=="2"){echo("style=\"background:#CCFFCC\"");}?>>바둑판형</button>&nbsp;
		<button class="view_type_btn" onclick="location.href='goods_list.php?CODE=<?=$CODE?>&Type=3&search_str=<?=$search_str?>&sst=<?=$sst?>&sod=<?=$sod?>';" <?if($Type=="3"){echo("style=\"background:#CCFFCC\"");}?>>블로그형</button>
		<select style="font-size:11px" onchange="location.href='<?=$PHP_SELF?>?CODE=<?=$CODE?>&Type=<?=$Type?>&'+this.value;">
			<option value="sst=idx&sod=asc" <?if($sst == "idx" && $sod=="asc"){echo("selected");}?>>등록순△</option>
			<option value="sst=idx&sod=desc" <?if($sst == "idx" && $sod=="desc"){echo("selected");}?>>등록순▽</option>
			<option value="sst=g_price&sod=asc" <?if($sst == "g_price" && $sod=="asc"){echo("selected");}?>>가격순△</option>
			<option value="sst=g_price&sod=desc" <?if($sst == "g_price" && $sod=="desc"){echo("selected");}?>>가격순▽</option>
			<option value="sst=g_hit&sod=asc" <?if($sst == "g_hit" && $sod=="asc"){echo("selected");}?>>조회순△</option>
			<option value="sst=g_hit&sod=desc" <?if($sst == "g_hit" && $sod=="desc"){echo("selected");}?>>조회순▽</option>
			<option value="sst=g_sale&sod=asc" <?if($sst == "g_sale" && $sod=="asc"){echo("selected");}?>>판매순△</option>
			<option value="sst=g_sale&sod=desc" <?if($sst == "g_sale" && $sod=="desc"){echo("selected");}?>>판매순▽</option>
			<option value="sst=g_name&sod=asc" <?if($sst == "g_name" && $sod=="asc"){echo("selected");}?>>상품명순△</option>
			<option value="sst=g_name&sod=desc" <?if($sst == "g_name" && $sod=="desc"){echo("selected");}?>>상품명순▽</option>
		</select>
		<input type="text" name="search_str" class="search_str" value="<?=$search_str?>">
		<button class="search_btn" onclick="SearchStr()">검색</button>
		</td>
	</tr>
</table>
<script>
function SearchStr()
{
	if(document.all('search_str').value!="")
	{
		location.href='<?=$PHP_SELF?>?CODE=<?=$CODE?>&Type=<?=$Type?>&sst=<?=$sst?>&sod=<?=$sod?>&search_str='+document.all('search_str').value;
	}
}
</script>